package com.neugh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author sot
 * @since 2020-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Collect implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 收藏id
     */
      @TableId(value = "collectionId", type = IdType.AUTO)
    private Integer collectionId;

    /**
     * 租房id外键
     */
    private Integer houseId;

    /**
     * 用户id外键
     */
    private Integer userId;


    public static final String COLLECTIONID = "collectionId";

    public static final String HOUSEID = "houseId";

    public static final String USERID = "userId";

}
